/*
 * Created: Author: Aléx Carvalho / Date: Jan 23, 2015
 * 
 * Changed: $Author: ac280593@gmail.com $ / $Date: 2015-03-13 10:38:16 +0000 (Fri, 13 Mar 2015) $
 */
package com.cpm.entities.types;

import com.cpm.wrapper.GenericType;

public enum IndicatorModeType implements GenericType<Integer> {

    INDIVIDUAL(1, "Individual"),
    CUMULATIVE(2, "Cumulativo"),
    AVERAGE(3, "Media");

    private final int id;
    private final String name;

    private IndicatorModeType(int id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public Integer getId() { return id; }

    @Override
    public String toString() { return name; }
}